package com.java1412.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.java1412.entity.CommonResult;

/**
 * @author java1412
 * @create 2021-06-18 15:50
 */
public class CustomerBlockHandler {
    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(444, "按照客户自定义限流测试，Glogal handlerException ---- 1");
    }

    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(444, "按照客户自定义限流测试，Glogal handlerException ---- 2");
    }
}
